package com.travelSpring.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 功能：酒店实体
 * 作者：卷心菜
 * 日期：2025/4/13 09:02
 */
@Data
public class ScenicTicketOrder {
    private Integer id;
    private Integer userId;
    private Integer ticketId;
    private String concatPerson;
    private String concatPhone;
    private BigDecimal amount;
    private Integer buyNumber;
    private boolean payStatus;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime payTime;
    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
}
